//
//  PCMPActionSheetItem.m
//  AresOpenPlatformSDK
//
//  Created by lyy on 2019/3/13.
//  Copyright © 2019 yitong. All rights reserved.
//

#import "PCDMPActionSheetItem.h"

@implementation PCDMPActionSheetItem

+ (PCDMPActionSheetItem *)itemWithTitle:(NSString *)title index:(NSInteger)index {
    
    PCDMPActionSheetItem *sheetItem = [[PCDMPActionSheetItem alloc] initWithTitle:title index:index];
    return sheetItem;
}

- (instancetype)initWithTitle:(NSString *)title index:(NSInteger)index {
    self = [super init];
    if(self) {
        _title = title;
        _index = index;
    }
    return self;
}

@end
